package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.MeltCloudChannel;
import com.yami.shop.dao.MeltCloudChannelMapper;
import com.yami.shop.service.MeltCloudChannelService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
@AllArgsConstructor
public class MeltCloudChannelServiceImpl extends ServiceImpl<MeltCloudChannelMapper, MeltCloudChannel> implements MeltCloudChannelService {
    
    private final MeltCloudChannelMapper channelMapper;
    
    @Override
    public List<MeltCloudChannel> getByUserGroupId(Long groupId, Long userGroupId) {
        return channelMapper.getByUserGroupId(groupId, userGroupId);
    }

}
